Skip to content

Comments

ci: add deploy workflow for TheGraph Network#471

Merged
Le-Caignec merged 19 commits intomainfrom
fix/subgraph-ci-deployment
Jul 29, 2025
Merged

ci: add deploy workflow for TheGraph Network#471
Le-Caignec merged 19 commits intomainfrom
fix/subgraph-ci-deployment

Conversation

@Le-Caignec
Copy link
Contributor

No description provided.

@Le-Caignec Le-Caignec self-assigned this Jul 25, 2025
@Le-Caignec Le-Caignec temporarily deployed to arbitrumSepolia July 25, 2025 13:33 — with GitHub Actions Inactive
@Le-Caignec Le-Caignec marked this pull request as ready for review July 25, 2025 13:47
"codegen": "graph codegen subgraph.template.yaml",
"build": "dotenv -e .env -- sh -c 'graph codegen subgraph.template.yaml && graph build subgraph.template.yaml --network ${NETWORK_NAME:-bellecour}'",
"deploy-theGraph": "graph deploy --node https://api.thegraph.com/deploy/ DataProtector",
"deploy-chainX": "dotenv -e .env -- sh -c 'graph deploy ${SUBGRAPH_SLUG} subgraph.template.yaml --deploy-key ${SUBGRAPH_DEPLOY_KEY} --network ${SUBGRAPH_NETWORK_NAME} --version-label ${VERSION_LABEL}'",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

 I’m not a big fan of this script name. If you have a better suggestion, let me know!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not a big fan of this ci file name. If you have a better suggestion, let me know!

working-directory: packages/subgraph
run: npm ci

- name: Codegen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate from subrsubgraph-ci.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that’s true — but we need it to make the deploy command work.

Le-Caignec and others added 2 commits July 28, 2025 20:25
Co-authored-by: gfournieriExec <100280020+gfournieriExec@users.noreply.github.com>
@Le-Caignec Le-Caignec merged commit 6505439 into main Jul 29, 2025
6 of 9 checks passed
@Le-Caignec Le-Caignec deleted the fix/subgraph-ci-deployment branch July 29, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants